package com.ifeng.stock;

import java.io.UnsupportedEncodingException;

import com.tidemark.StockDataModel;

public class RelativeReader extends AbstractReader implements com.tidemark.Reader {
	public void propose(){
		try {
			//System.out.println(":)   :)   :)   ifeng.com ");
			compare_print(read(Constants.bigindelta), read(Constants.smalloutdelta), new String(Constants.NIU, "utf-8"));
			//System.out.println(":(   :(   :(   ifeng.com ");
			compare_print(read(Constants.bigoutdelta), read(Constants.smallindelta), new String(Constants.XIONG, "utf-8"));
		} catch (UnsupportedEncodingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

	public RelativeReader(StockDataModel model){
		if(model == null){
			throw new NullPointerException("stock data model must not be null.");
		}
		this.model = model;
	}
}
